.artist-detail { 
  display: flex; 
  flex-direction: column; 
  height: 100%; 
  background: #1a1a1a;
  color: #fff;
  position: relative;
}

/* 背景图片区域 */
.artist-detail .ad-background-section {
  position: relative;
  height: 30%;
  min-height: 150px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.artist-detail .ad-background-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(2px);
  transform: scale(1.1);
}

.artist-detail .ad-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.3) 0%,
    rgba(26, 26, 26, 0.6) 50%,
    rgba(26, 26, 26, 0.9) 80%,
    #1a1a1a 100%
  );
  z-index: 1;
}

/* 返回按钮 */
.artist-detail .ad-header-buttons {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 99;
}

.artist-detail .ad-left-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.artist-detail .ad-right-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.artist-detail .ad-sidebar-btn {
  background: transparent;
  border: none; 
  color: #fff; 
  cursor: pointer; 
  padding: 8px;
  font-size: 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.artist-detail .ad-sidebar-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.artist-detail .ad-back { 
  background: transparent;
  border: none; 
  color: #fff; 
  cursor: pointer; 
  padding: 8px 12px;
  font-size: 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.artist-detail .ad-back:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.artist-detail .ad-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(10px);
}

.artist-detail .ad-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.artist-detail .ad-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.artist-detail .ad-btn.edit-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 14px;
}

.artist-detail .ad-btn.edit-btn:hover:not(:disabled) {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

/* 艺术家信息区域 */
.artist-detail .ad-artist-info {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding: 0 20px 20px 20px;
}

.artist-detail .ad-artist-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.artist-detail .ad-photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-detail .ad-artist-details {
  flex: 1;
  padding-bottom: 10px;
}

.artist-detail .ad-name { 
  margin: 0 0 8px 0; 
  font-size: 2.2em;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.artist-detail .ad-stats { 
  color: rgba(255, 255, 255, 0.9); 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  margin-bottom: 8px; 
  font-size: 16px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.artist-detail .ad-stats .dot { 
  opacity: 0.6; 
}

.artist-detail .ad-desc { 
  color: rgba(255, 255, 255, 0.7); 
  font-size: 14px; 
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 内容区域 */
.artist-detail .ad-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  padding: 20px;
}

.artist-detail .ad-tracks {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  min-height: 0;
}

/* MusicList组件在艺术家详情页面中的样式 */
.artist-detail .ad-tracks .music-list-container {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.artist-detail .ad-tracks .music-list {
  height: 100%;
  min-height: 0;
}

.artist-detail .ad-tracks-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.artist-detail .ad-tracks-title {
  margin: 0;
  font-size: 1.2em;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}

.artist-detail .ad-search-container {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  flex: 1;
  min-width: 0;
  justify-content: flex-end;
}

.artist-detail .ad-search-input {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 8px 12px;
  color: #fff;
  font-size: 14px;
  min-width: 200px;
  max-width: 300px;
  transition: all 0.2s ease;
  flex: 1;
}

.artist-detail .ad-search-input:focus {
  outline: none;
  border-color: #4ecdc4;
  background: rgba(255,255,255,0.15);
}

.artist-detail .ad-search-input::placeholder {
  color: rgba(255,255,255,0.5);
}

.artist-detail .ad-search-clear {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  color: #ccc;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 12px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
}

.artist-detail .ad-search-clear:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* 加载状态 */
.artist-detail .loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 16px;
  padding: 40px;
}

.artist-detail .loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top: 3px solid #4ecdc4;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.artist-detail .loading-container h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.artist-detail .loading-container p {
  margin: 0;
  color: #ccc;
  font-size: 14px;
}

/* 错误状态 */
.artist-detail .error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 16px;
  padding: 40px;
  text-align: center;
}

.artist-detail .error-container h3 {
  margin: 0;
  color: #ff6b6b;
  font-size: 18px;
}

.artist-detail .error-container p {
  margin: 0;
  color: #ccc;
  font-size: 14px;
  max-width: 300px;
}

.artist-detail .ad-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.artist-detail .ad-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

.artist-detail .ad-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .artist-detail .ad-background-section {
    height: 25%;
  }
  
  .artist-detail .ad-back {
    top: 16px;
    left: 16px;
    padding: 10px 14px;
    font-size: 15px;
  }
  
  .artist-detail .ad-artist-info {
    gap: 16px;
    padding: 0 16px 16px 16px;
  }
  
  .artist-detail .ad-artist-photo {
    width: 100px;
    height: 100px;
  }
  
  .artist-detail .ad-name {
    font-size: 1.8em;
  }
  
  .artist-detail .ad-stats {
    font-size: 14px;
  }
  
  .artist-detail .ad-content {
    padding: 16px;
  }
  
  .artist-detail .ad-tracks-header {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-height: 40px;
  }
  
  .artist-detail .ad-tracks-title {
    font-size: 1.1em;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .artist-detail .ad-search-container {
    justify-content: flex-end;
    flex: 1;
    min-width: 0;
  }
  
  .artist-detail .ad-search-input {
    min-width: 0;
    flex: 1;
    max-width: 200px;
  }
  
  .artist-detail .loading-container,
  .artist-detail .error-container {
    padding: 20px;
  }
  
  .artist-detail .loading-spinner {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 480px) {
  .artist-detail .ad-background-section {
    height: 20%;
  }
  
  .artist-detail .ad-back {
    top: 12px;
    left: 12px;
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .artist-detail .ad-artist-info {
    gap: 12px;
    padding: 0 12px 12px 12px;
  }
  
  .artist-detail .ad-artist-photo {
    width: 80px;
    height: 80px;
  }
  
  .artist-detail .ad-name {
    font-size: 1.5em;
  }
  
  .artist-detail .ad-stats {
    font-size: 12px;
  }
  
  .artist-detail .ad-content {
    padding: 12px;
  }
  
  .artist-detail .ad-tracks-header {
    gap: 8px;
  }
  
  .artist-detail .ad-tracks-title {
    font-size: 1em;
  }
  
  .artist-detail .ad-search-input {
    font-size: 12px;
    padding: 6px 8px;
    max-width: 150px;
  }
  
  .artist-detail .ad-search-clear {
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    padding: 2px 4px;
  }
}

@media (max-width: 360px) {
  .artist-detail .ad-background-section {
    height: 18%;
  }
  
  .artist-detail .ad-header-buttons {
    top: 8px;
    left: 8px;
    gap: 6px;
  }
  
  .artist-detail .ad-sidebar-btn {
    padding: 5px;
    font-size: 12px;
  }
  
  .artist-detail .ad-back {
    padding: 5px 8px;
    font-size: 12px;
  }
  
  .artist-detail .ad-artist-info {
    gap: 10px;
    padding: 0 8px 8px 8px;
  }
  
  .artist-detail .ad-artist-photo {
    width: 70px;
    height: 70px;
  }
  
  .artist-detail .ad-name {
    font-size: 1.3em;
  }
  
  .artist-detail .ad-stats {
    font-size: 11px;
  }
  
  .artist-detail .ad-content {
    padding: 8px;
  }
  
  .artist-detail .ad-tracks-header {
    gap: 6px;
    min-height: 36px;
  }
  
  .artist-detail .ad-tracks-title {
    font-size: 0.9em;
  }
  
  .artist-detail .ad-search-input {
    font-size: 11px;
    padding: 5px 6px;
    max-width: 120px;
    min-width: 80px;
  }
  
  .artist-detail .ad-search-clear {
    font-size: 9px;
    min-width: 16px;
    height: 16px;
    padding: 1px 3px;
  }
}

/* 编辑模态框样式 */
.edit-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.edit-modal {
  background: #2c3e50;
  border-radius: 12px;
  padding: 0;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.edit-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.edit-modal-header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.3em;
  font-weight: 600;
}

.edit-modal-close {
  background: transparent;
  border: none;
  color: #ccc;
  cursor: pointer;
  padding: 8px;
  font-size: 18px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.edit-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.edit-modal-form {
  padding: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 14px;
  transition: all 0.2s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* 封面区域样式 */
.cover-section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cover-upload-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.cover-preview-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.cover-preview-wrap:hover {
  transform: scale(1.02);
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  opacity: 0.7;
}

.placeholder-icon {
  font-size: 48px;
  margin-bottom: 8px;
  opacity: 0.8;
}

.placeholder-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.cover-input {
  display: none;
}

.cover-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 8px;
  text-align: center;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
}

.cover-label:hover {
  background: rgba(0, 0, 0, 0.9);
}

.cover-label.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(0, 0, 0, 0.6);
}

.cover-label.disabled:hover {
  background: rgba(0, 0, 0, 0.6);
}

.upload-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.edit-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.edit-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 80px;
}

.edit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.edit-btn.cancel {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.edit-btn.cancel:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
}

.edit-btn.submit {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.edit-btn.submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.edit-btn.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-loading-spinner {
  width: 12px;
  height: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-top: 1.5px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .edit-modal {
    width: 95%;
    margin: 20px;
  }

  .edit-modal-actions {
    flex-direction: row;
  }

  .edit-btn {
    width: 100%;
  }

  .cover-preview-wrap {
    width: 100px;
    height: 100px;
  }

  .preview-image,
  .preview-placeholder {
    width: 100%;
    height: 100%;
  }

  .placeholder-icon {
    font-size: 36px;
  }

  .placeholder-text {
    font-size: 12px;
  }
}


@media (max-width: 900px) {
  .col-album {
    display: revert;
  }
  .col-artist {
    display: none;
  }
}
@media (max-width: 600px) {
  .col-artist {
    display: none;
  }
  .col-album {
    display: none;
  }
}